package sanrenxing.Paper.domain;

/**
 * 功能：试卷信息表的实体类
 * 编写者：蒋玲苹
 * 日期：20200926
 * 版本：1.0
 */
public class Paper {
    //试卷编号
    private int paperId;
    //班级编号
    private int classId;
    //课程编号
    private int courseId;
    //试题编号组
    private String subjectIds;
    //考试日期 sqlDate
    private String examDate;
    //考试开始时间
    private String beginTime;
    //考试结束时间
    private String finishTime;

    //默认构造方法
    public Paper() {
    }

    /**
     * 缺少主键的构造方法
     * @param classId
     * @param courseId
     * @param subjectIds
     * @param examDate
     * @param beginTime
     * @param finishTime
     */
    public Paper(int classId, int courseId, String subjectIds, String examDate, String beginTime, String finishTime) {
        this.classId = classId;
        this.courseId = courseId;
        this.subjectIds = subjectIds;
        this.examDate = examDate;
        this.beginTime = beginTime;
        this.finishTime = finishTime;
    }

    /**
     * 带参数的构造方法
     * @param paperId 试卷编号
     * @param classId 班级编号
     * @param courseId 课程编号
     * @param subjectIds 试题编号组
     * @param examDate 考试日期
     * @param beginTime 考试开始时间
     * @param finishTime 考试结束时间
     */
    public Paper(int paperId, int classId, int courseId, String subjectIds, String examDate, String beginTime, String finishTime) {
        this.paperId = paperId;
        this.classId = classId;
        this.courseId = courseId;
        this.subjectIds = subjectIds;
        this.examDate = examDate;
        this.beginTime = beginTime;
        this.finishTime = finishTime;
    }
    //set和get方法

    public int getPaperId() {
        return paperId;
    }

    public void setPaperId(int paperId) {
        this.paperId = paperId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(String subjectIds) {
        this.subjectIds = subjectIds;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }
}